x=6
y="荔枝"
print("我吃了",x,"斤",y)
print("我吃了%s斤%s"%(x,y))
print("我吃了{}斤{}".format(x,y))


'''
n=3
s="土豆"
print("我买了",n,"斤",s)
print("我买了%s斤%s" %(n,s))
print("我买了{}斤{}".format(n,s))
'''